package artid.com.arttogo.bean;

import org.json.JSONObject;
import java.io.Serializable;

/**
 * 名人印章列表实体类+解析
 */

public class CelebritySealParser extends AppItem implements Serializable{
    private String id;//名人艺术家id
    private String seller_name;//名字
    private String name_letter;//首字母大写
    @Override
    public void parse(JSONObject obj) {
        if (null == obj) {
            return;
        }
        id = obj.optString("id");
        seller_name = obj.optString("seller_name");
        name_letter = obj.optString("name_letter");
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getSeller_name() {
        return seller_name;
    }
    public void setSeller_name(String seller_name) {
        this.seller_name = seller_name;
    }
    public String getName_letter() {
        return name_letter;
    }
    public void setName_letter(String name_letter) {
        this.name_letter = name_letter;
    }
    public CelebritySealParser() {
    }
    public CelebritySealParser(String id, String seller_name, String name_letter) {
        this.id = id;
        this.seller_name = seller_name;
        this.name_letter = name_letter;
    }
    @Override
    public String toString() {
        return "CelebritySealParser{" +
                "id='" + id + '\'' +
                ", seller_name='" + seller_name + '\'' +
                ", name_letter='" + name_letter + '\'' +
                '}';
    }
}
